//
//  AbnormalReportMainModel.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2021/3/16.
//  Copyright © 2021 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
@class AbnormalReportMainTypeModel;
@class AbnormalReportImgModel;

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,AbnormalReportStatus) {
    AbnormalReportStatusPackage   = 1,//包装破损
    AbnormalReportStatusCount        ,//数量有误
    AbnormalReportStatusOther         //其他
};

@interface AbnormalReportMainModel : NSObject

@property (nonatomic, assign) AbnormalReportStatus status;
@property (nonatomic, strong) NSMutableArray <AbnormalReportMainTypeModel *>*typeArray;
@property (nonatomic, strong) NSArray <AbnormalReportImgModel *>*imgList;
@property (nonatomic, copy) NSString *note;

@end

@interface AbnormalReportMainTypeModel : NSObject

@property (nonatomic, copy) NSString *Id;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) BOOL isSelect;

@end

@interface AbnormalReportImgModel : NSObject

@property (nonatomic, copy) NSString *url;
@property (nonatomic, copy) NSString *path;

@end

NS_ASSUME_NONNULL_END
